decorative banner

Writing expressions


    You can write an expression directly in the expression field in the Timeline window or in any text editor. If you write an expression in a text editor, you can simply copy it and paste it into the expression field.

    When writing expressions, keep the following guidelines in mind:

    • JavaScript is case-sensitive.
    • Semicolons are required to separate statements or lines.
    • Spaces between words are ignored.

    Note: To write your own expressions, it may help to have some basic knowledge of JavaScript syntax and mathematics. However, once you learn the basic logic behind creating an expression, you can write fairly sophisticated expressions without ever looking at a JavaScript reference guide.

Related Subtopics: